// myviews/support/support.js
var globalData = getApp().globalData;
Page({

  /**
   * 页面的初始数据
   */
  data: {
    orderList: [],
    appDomain: globalData.appDomain
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {
    var userid = globalData.backUserInfo.syS0100;
    var _this = this;
    var url = getApp().globalData.apiDomain + "/BookHos?userid=" + userid;
    wx.request({
      url: url,
      method: "GET",
      success: function (res) {
        console.log("*************我的代办******************");
        console.log(res.data)
        _this.setData({
          orderList: res.data.data
        })
        console.log(_this.data.orderList);
      }
    })
  }
})